/* _NSPROJ_H_
 * 
 * SOLVES THREE DIMENSIONAL, INCOMPRESSIBLE NAVIER-STOKES
 * EQUATION WITH RECTANGULAR DOMAIN USING FINITE DIFFERENCING 
 * ON A STAGGERED GRID
 * UTILIZES THE PROJECTION METHOD.  THE CONSERVATIVE FORM
 * CONVECTION IS DISCRETIZED WITHOUT THE USE OF UPWIND TREATMENT; 
 * BOTH THE ADVECTION AND DIFUSSION TERMS ARE TREATED EXPLICITLY. 
 * THE CURRENT SETUP IS FOR A LID DRIVEN CAVITY PROBLEM WITH A WELL
 * KNOWN VELOCITY AT THE TOP AND NO-SLIP BOUNDARY CONDIITIONS AT
 * ALL OTHER BOUNDARIES
 * 
 * ORIGINALLY WRITTEN BY DR. ZHI-GANG FENG: UNIVERSITY OF NORTH TEXAS
 * 
 * PORTED TO C AND 3D BY JOHN LEIDEL: GRADUATE STUDENT
 * 
 */

#ifndef _NSPROJ_H_
#define _NSPROJ_H_

#ifdef _MPI_
#include "nsmpi.h"
#endif

//---------------------------------------MACROS
#define _MAX_X_ 100000
#define _MAX_Y_ 100000
#define _MAX_Z_ 100000
//---------------------------------------------

//---------------------------------------DATATYPES

//-- MESH STRUCTURE
typedef struct {
    int nx;
    int ny;
    int nz;
    int mx;
    int my;
    int mz;
    double uN;
    double uS;
    double vE;
    double vW;
    double wF;
    double wB;
    double ***U;
    double ***V;
    double ***W;
    double ***Ustar;
    double ***Vstar;
    double ***Wstar;
    double ***P;
    double ***Pnew;
}NSMESH;


//------------------------------------------------

#endif
